package com.yishe.entites.mysql;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name ="wx_user_member_info")
public class WxUserMemberInfo implements Serializable {
    @Transient
    private static final long serialVersionUID = 5802487359562832719L;
    @Id
    @Column(name = "id")
    private Integer id;

    private String wxAccount;
    private String openid;

    private Integer jfTotal;

    private Integer jfCurrent;

    private Integer jfUsed;

    private Double moneyTotal;

    private Double moneySurplus;

    private Double moneyRefund;

    private String memberCurLevel;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date memberGetTime;

    private Integer status;

    private String createId;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    private String lastUpdateId;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date lastUpdateTime;


}